html {
    box-sizing: border-box;
    font-size: 16px;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

ol,
ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Start Styling */

body {
    font-family: 'Inter', Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #4B5563;
    line-height: 21px;;
}

#container {
    width: 800px;
    margin: 0px auto;
}

/* login */
.login__box {
    width: 500px;
    margin: 0px auto;
    margin-top: 100px;
}
    .warning {
        background-color: #fffbeb;
        border-left: 5px solid #B45309;
        margin: 10px;
        padding: 10px;
    }

    .warning p {
        color: #c05621;
        line-height: 20px;
    }

    h3 {
        font-size: 16px;
        font-weight: normal;
        padding-bottom: 16px;
        margin-bottom: 24px;
        border-bottom: 1px solid #ccc;
    }

    h3.login {
        font-weight: bold
    }

    label, input { display: block; line-height: 26px; }
    /* pencarian */
    input.cari { width: 180px; display: inline; margin-right: 10px;}
    .baca_nanti { display: flex; margin-bottom: 1.5em; align-items: center; align-content: center; }
    input.i_nanti {width: 18px; } 
    label.l_nanti {margin: 0 0 0 10px}

    label { margin-top: 16px }
    input, textarea { width: 480px;}
    textarea { font-family: Inter; font-size: 14px}
    input[type="submit"] { 
        background-color:#3e64ff;
        border:1px solid #3e64ff;
        display:inline-block;
        cursor:pointer;
        color:#ffffff;
        padding: 4px 4px;
        width: 70px;
    }
    span.hint {
        display: block;
        margin-bottom: 21px;
        color: #718096
    }

/* navigation */
header {
    margin: 20px 0 40px 0;
}
    .nav, #content, .navi {
        display: flex;
        flex-direction: row;
    }
    .logo {
        width: 400px;
    }
    
    .spesial {
        padding: 4px 6px;
        margin-right: 16px;
        background-color: #3e64ff;
        color: #fff;
        text-align: center;
    }
    
    a.spesial:hover {
        background-color: #e63946;
        color: #fff
    }

    #content {
        width: 100%;
    }

        .kiri {
            width: 650px;
            padding-right: 28px;
        }

        .kiri .items {
            margin-bottom: 16px;
            padding: 6px;
        }

        .items h4 a {
            color: #084999;
            font-weight: 600;
            font-size: 15px;
        }

        .items h4 a:hover {
            text-decoration: underline;
        }

        .items p.uraian {
            font-size: 15px;
        }

        .items p.aksi a.edit, a.hapus {
            color: #66758c;
        }

        .items .d_aksi {
            display: flex;
            justify-content: space-between;
        }

        .items input.input {
            width: 500px;
        }

        p.byTags { 
            margin-bottom: 28px;
            padding-bottom: 10px;
            border-bottom: 1px solid #ccc;
        }

        .navi {
            margin-bottom: 24px;
            padding-top: 10px;
            border-top: 1px dotted #111;
        }
        .navi .balik, .navi .lanjut {
            width: 50%;
        }

        .navi .lanjut {
            text-align: right;
        }

        .notes {
            margin-bottom: 28px;
        }

        .mencari {
            margin-bottom: 20px;
        }

        .kanan .tagslist span {
            padding-right: 6px;
            text-transform: capitalize;
            display: inline-block;

        }

         .kanan .tagslist a,
         .items span.tags a {
            color: #d00000;
         }

         .kanan .tagslist a:hover,
         .items span.tags a:hover {
             text-decoration: underline;
             color: #d00000
         }

         .nanti {
             background-color: lightyellow;
             border-radius: 4px;
         }
/* typo */

.bold {
    font-weight: bold;
}

/* anchor */

a {
    text-decoration: none;
    color: #374151;
}

a:hover { 
    text-decoration: none;
    color: #111827;
}

a.m { padding-right: 20px;}

a.batal { padding-left: 28px}

/* tagslist */
h5.sembunyi {
    visibility: hidden;
    height: 4px;
    margin: 0px;
}
h5.sembunyi+span::first-letter {
    font-weight: bold;
    color: #9d0208;
}

dt {
    float: left;
    clear: left;
    width: 110px;
    font-weight: bold;
}

dt::after {
    content: ":";
}

dd {
    margin: 0 0 0 80px;
    padding: 0 0 0.5em 0;
}

.red {
    color: red;
    text-decoration: underline;
}

#gp {
    display: none
}

@media only screen and (max-width: 500px) {
    #container {
        width: 100%;
        margin: 0px auto;
    }
       .login__box {
           width: 90%;
           margin: 0px auto;
       }

       input, textarea { width: 90%}

       main {
           width: 100%;
       }

       .nav,
       #content {
           display: flex;
           flex-direction: column;
           width: 95%;
           margin: 0px auto;
       }

       .kiri,.kanan {
           width: 100%
       }
}
